Load themes using `load', querying if theme file not known safe.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 8 Jan 2011 19:19:55 +0000 (14:19 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 8 Jan 2011 19:19:55 +0000 (14:19 -0500)
commitbc63119b72b7ef493b7e6d7f2331a0358ff78214
treefe6150b096f9093efa093959200ac5d2d5ef8b41
parent801cd200257b2302c1c5bb10e976e316ceec769d
Load themes using `load', querying if theme file not known safe.

* custom.el (custom-safe-theme-files): New defcustom.
(custom-theme-load-confirm): New function.
(load-theme): Load theme using `load', confirming with
custom-theme-load-confirm if necessary.
etc/NEWS
lisp/ChangeLog
lisp/custom.el